import request from '@/utils/request/index.js'

export default {
  getList(params) {
    return request({
      url: '/wish/list',
      params,
      method: 'get'
    })
  },
  del(params) {
    return request({
      url: '/wish/info',
      method: 'delete',
      params
    }, {
      isShowMessage: true,
      successMessageText: '删除成功！'
    })
  }
}
